#ifndef DBCONFIG_H
#define DBCONFIG_H


#include "main_inc.h"

class DBConfig
{
    protected:
        DBConfig();
        virtual ~DBConfig();
    public:

        static DBConfig *Config();

        i32 CheckDataBaseUser(u32 uhash, u32 phash);    // return 1 - RW, 2 R, 0 - user/pass not mtached

    protected:

        static DBConfig *scfg;




    private:
};

#define CONFIG  (DBConfig::Config())

#endif // DBCONFIG_H
